﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC18Controller
    /// </summary>
    public class VYC18Controller
    {
        private static VYC18BO _vyc18Bo;
        public VYC18Controller()
        {
            _vyc18Bo = new VYC18BO();
        }
        public List<ModelVYC18> GetAllList()
        {
            return _vyc18Bo.GetAllList();
        }
        public int AddData(ModelVYC18 model)
        {
            return _vyc18Bo.AddData(model);
        }
        public int EditData(ModelVYC18 model)
        {
            return _vyc18Bo.EditData(model);
        }
        public int DeleteData(ModelVYC18 model)
        {
            return _vyc18Bo.DeleteData(model);
        }
        public List<ModelVYC18> GetById(int id)
        {
            return _vyc18Bo.GetById(id);
        }
    }
}